// Gabriel Martins de Castro
// Due date: 12/3/2014
// GMCDog.java 

public class GMCDog
{
   private String name;
   private int age;
   
   public GMCDog(){}
   
   public GMCDog(String name)
   {
      this.name = name;
   }
   public GMCDog(int age)
   {
      this.age = age;
   }
   public GMCDog(String name, int age)
   {
      this.name = name;
      this.age = age;
   }
   
   public void setName(String name)
   {
      this.name = name;
   }
   
   public void setAge(int age)
   {
      this.age = age;
   }
   
   public String getName()
   {
      return this.name;
   }
   
   public int getAge()
   {
      return this.age;
   }
   
   public int humamAge()
   {
      int result = this.age * 7;
      return result;
   }
   
   public String toString()
   {
      String result = "The dog " + this.name + " has " + this.age + " years, which is equivalent to " + this.humamAge();
      return result;
   }

}